import Vue from "vue";
import Vuex from "vuex";
import system from "./system";
import business from "./business";
import search from "./search";
import goods from "./goods";
import meal from "./goods/meal";
import user from "./user";
import cart from "./cart";
import order from "./order";
import vcode from "./vcode";

Vue.use(Vuex);

const store=new Vuex.Store({
    modules:{
        system,
        business,
        search,
        goods,
        meal,
        user,
        cart,
        order,
        vcode
    }
});

export default store;
